const mongoose = require('utils/mongoose.js');
const Schema = mongoose.Schema;
const linetoStopsSchema = new Schema({

	city  : String,
	line  : String,
	start : String,
	end : String,
	price : String,
	detail : String,
    stops : [],
});
linetoStopsSchema.index({ city: 1, line: 1}, { unique: true });
const LineToStops = mongoose.model('LineToStops',linetoStopsSchema );
module.exports = LineToStops;

